package com.kevin.ms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单信息实体类
 *
 * @author Kevin Liu
 * @date 2020/1/5 21:16
 * @since 1.0
 */
@Data
@TableName("order_info")
public class OrderInfo implements Serializable {

	@TableId(value = "id",type = IdType.AUTO)
	private Long id;

	private Long userId;

	private Long goodsId;

	private Long  deliveryAddrId;

	private String goodsName;

	private Integer goodsCount;

	private Double goodsPrice;

	private Integer orderChannel;

	private Integer status;

	private Date createDate;

	private Date payDate;
}
